﻿<%@ Page Language="C#" MasterPageFile="MasterPage3.master" AutoEventWireup="true"
    CodeFile="xkzx.aspx.cs" Inherits="Theme_Index_xkzx" Title="选课中心" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<div class="new_01">
        <div class="position">
            首页 &gt;&gt; 课程菜单</div>
        <div class="my_calss">
            <div class="jyzx3_01">
                <ul>
                    <li>
                        <asp:DropDownList ID="ddl_Catalog" runat="server">
                        </asp:DropDownList>
                        &nbsp;
                        <asp:TextBox ID="txt_KeyWord" runat="server"></asp:TextBox>
                        <asp:Button ID="Button1" runat="server" class="inputBotton2" OnClick="btn_seach_Click"
                            Text="搜索" />
                    </li>
                </ul>
                <asp:Repeater ID="rptCourse" runat="server">
                    <HeaderTemplate>
                        <table width="727" cellpadding="0" cellspacing="5">
                            <tr>
                                <td width="164" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>课程名称</strong></div>
                                </td>
                                <td width="158" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>专业名称</strong></div>
                                </td>
                                <td width="141" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>主讲</strong></div>
                                </td>
                                <td width="107" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>资源总数</strong></div>
                                </td>
                                
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <asp:Label ID="lblid" runat="server" Text='<%#Eval("CatalogcouID")%>' Visible="False"></asp:Label>
                                    <asp:Label ID="lbl_courseid" runat="server" Text='<%#Eval("Course_Id")%>' Visible="False"></asp:Label>
                                    <%#Eval("CourseName")%>
                                    &nbsp;
                                </div>
                            </td>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#Eval("CatalogName")%>
                                    &nbsp;
                                </div>
                            </td>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#Eval("CourseMostlyTeacherName")%>
                                    &nbsp;
                                </div>
                            </td>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#Eval("CourseResourceNum")%>
                                    &nbsp;
                                </div>
                            </td>
                           
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
            <ul>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                    ShowCustomInfoSection="right" Width="100%" meta:resourceKey="AspNetPager1" InputBoxStyle="width:19px"
                    FirstPageText="<li>首页</li>" LastPageText="<li>未页</li>" NextPageText="<li>下一页</li>"
                    PrevPageText="<li>上一页</li>">
                </webdiyer:AspNetPager>
            </ul>
        </div>
    </div>--%>
    
    
                                                        <table cellspacing="1" cellpadding="6" width="100%" bgcolor="#cccccc" border="0">
                                                        <tbody>
                                                            <tr>
                                                                <td bgcolor="#ffffff">
                                                                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                                        <tbody>
                                                                            <tr>
                                                                                <td valign="top">
                                                                                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                                                        <tbody>
                                                                                            <tr>
                                                                                                <td class="title_con_over" align="middle" width="110" background="ganbu2/title_bg.gif"
                                                                                                    height="25">
                                                                                                    课程菜单
                                                                                                </td>
                                                                                                <td class="font-red" valign="center" align="right" bgcolor="#dfdfdf">
                                                                                                    <a href="#">更多&gt;&gt;</a>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </tbody>
                                                                                    </table>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td valign="top" align="middle">
                                                                                    <table style="margin-top: 5px" cellspacing="0" cellpadding="0" width="99%" border="0">
                                                                                        <tbody>
                                                                                            <tr>
                                                                                                <td>
                                                                                                  <asp:DropDownList ID="ddl_Catalog" runat="server" Width="80px">
                                                                                                  </asp:DropDownList>
                                                                                                    <%--<select name="select">  
                                                                                                        <option>选择学段</option>
                                                                                                    </select>--%>
                                                                                                    <asp:DropDownList ID="ddl_xueduan" runat="server" Width="80px">
                                                                                                  </asp:DropDownList>
                                                                                                    <%--<select name="select7">
                                                                                                        <option>选择学科</option>
                                                                                                    </select>
                                                                                                    <select name="select8">
                                                                                                        <option>选择学年</option>
                                                                                                    </select>--%>
                                                                                                    <%--骨干
                                                                                                    <input type="checkbox" name="checkbox" value="checkbox">
                                                                                                    全员
                                                                                                    <input type="checkbox" name="checkbox2" value="checkbox">--%>
                                                                                                    <asp:TextBox ID="txt_KeyWord" runat="server" Width="120px"></asp:TextBox>
                                                                                                    <asp:Button ID="Button1" runat="server" class="inputBotton2" OnClick="btn_seach_Click" Text="查询" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </tbody>
                                                                                    </table>
                                                                                    
                                                                                    
                                                                                     <asp:Repeater ID="rpt_Course" runat="server"  OnItemCommand="rptCourse_ItemCommand" >
            <HeaderTemplate>
                <table style="margin-top: 5px" cellspacing="0" cellpadding="0" width="99%" border="0">
                                                                                        <tbody>
            </HeaderTemplate>
            <ItemTemplate>
            
            
                                                                                            <tr>
                                                                                                <td align="middle" width="10%" height="28"  rowspan="2" align="center">
                                                                                                    <asp:Button ID="btn_sel" runat="server" CommandName="sel" CommandArgument='<%#Eval("Course_Id")%>' Text="选择" />
                                                                                                </td>
                                                                                                <td width="70%" height="28" align="left" class="title_left">
                                                                                                    <a href="CourseDescription.aspx?CID=<%#Eval("Course_Id")%>" title="[<%#Eval("CatalogName")%>]<%#Eval("CourseName")%>" target="_blank"
                                                                                                        class="STYLE3">[<%#Eval("CatalogName")%>]<%#Eval("CourseName")%></a><br>
                                                                                                   
                                                                                                </td>
                                                                                                <td width="20%" height="28" align="left" class="txt">
                                                                                                    主讲：<%#Eval("CourseMostlyTeacherName")%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                
                                                                                                <td height="28" colspan="2" align="left">
                                                                                                    <span class="STYLE1"><%#PowerCreator.LMS.Common.Utils.StringUtils.GetSubstringLue(Eval("Description").ToString(), 86)%></span>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td background="ganbu2/dot_line.gif" colspan="4" height="2">
                                                                                                </td>
                                                                                            </tr>
            
            
                <%--<tr>
                    <td>
                        <asp:CheckBox ID="chkSelect" runat="server" />
                        <asp:Label ID="lblid" runat="server" Text='<%#Eval("CourseresID")%>' Visible="False"></asp:Label>
                        <asp:Label ID="lbl_resourcetype" runat="server" Text='<%#Eval("CoursersClassID")%>'
                            Visible="False"></asp:Label>
                        <asp:Label ID="lbl_resourceid" runat="server" Text='<%#Eval("CoursersResourceID")%>'
                            Visible="False"></asp:Label>
                    </td>
                    <td>
                        <%#Eval("ResourceName")%>
                        &nbsp;
                    </td>
                    <td>
                        <%# opCourse.GetCourseStateByData(int.Parse(Eval("VOTresourceState").ToString()), GetLanageValueByKey("State_Msg2", PowerCreator.LMS.Language.LanagetItemType.Page), GetLanageValueByKey("AddCourseInfo_db_d2", PowerCreator.LMS.Language.LanagetItemType.Page))%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("CoursersClassName")%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("CoursersRestpName")%>
                        &nbsp;
                    </td>
                    <td>
                        <asp:LinkButton ID="lnkbtn_state" runat="server" CommandName="lstate" CommandArgument='<%#Eval("CourseresID")%>'>
                        <%=GetLanageValueByKey("TeacherManager_gv_c1", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        <!--审核--></asp:LinkButton>
                        |
                        <asp:LinkButton ID="lnkbtn_edit" runat="server" CommandName="ledit" CommandArgument='<%#Eval("CourseresID")%>'>
                        <%=GetLanageValueByKey("ManagerRole_gv_lnk_o1", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        <!--编辑--></asp:LinkButton>
                        |
                        <asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("CourseresID")%>' >
                            <%=GetLanageValueByKey("ManagerRole_gv_lnk_o2", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--删除--></asp:LinkButton>
                        |
                        <asp:LinkButton ID="lnkbtn_show" runat="server" CommandName="lshow" CommandArgument='<%#Eval("CourseresID")%>'>
                        <%=GetLanageValueByKey("ResourceList_gv_c2", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        <!--打开看看--></asp:LinkButton>
                        |
                        <asp:LinkButton ID="lnkbtn_pl" runat="server" CommandName="lpl" CommandArgument='<%#Eval("CourseresID")%>'
                            Visible="True">
                            <%=GetLanageValueByKey("ResourceList_gv_c3", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--管理点评--></asp:LinkButton>
                        
                        <asp:LinkButton ID="lnkbtn_add" runat="server" CommandName="add" CommandArgument='<%#Eval("CoursersResourceID")%>'
                            Visible="False">
                            |<%=GetLanageValueByKey("ResourceList_gv_c4", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--添加下载--></asp:LinkButton>
                        <asp:Label ID="lbl_resourcetype_paper" runat="server" Text="" ForeColor="red"></asp:Label>
                    </td>
                </tr>--%>
            </ItemTemplate>
            <FooterTemplate>
                 </tbody>
                                                                                    </table>
            </FooterTemplate>
        </asp:Repeater>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourcekey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
                                                                                    
                                                                                    
                                                                                    
                                                                                    
                                                                                    
                                                                                       
                                                                                </td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>

</asp:Content>
